package main

import (
	"fmt"
)

func main(){

	names:=[4]string{"tom","jack","lucy","小花"}

	fmt.Println("请输入要查找的用户名")

	var name string 
	fmt.Scanln(&name)

	for _,v:=range names{

		if name==v{
			fmt.Println(v)
			break
		}
		
	}
}